<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<title>用户注册</title>
</head>
<body>
<div class="container">
     <div class="col-md-offset-3 col-md-6 panel panel-default">
        <h2 class="text-center">用户注册</h2>
        <form class="form-horizontal"  action="upload.do" method="post" enctype="multipart/form-data" >    
      <div class="form-group">
        <label class="col-md-4 control-abel"> 用户名</label>
           <div class="col-md-8">
              <input type="text" class="form-control" name="username"/>
           </div> 
       </div>
       
       
        <div class="form-group">
            <label class="col-md-4 control-abel"> 密码</label>
                <div class="col-md-8">
                   <input type="password" class="form-control" name="pwd"/>
                 </div> 
         </div>
          
          
         <div class="form-group">
               <label class="col-md-4 control-abel">确认密码</label>
                  <div class="col-md-8">
                     <input type="password" class="form-control"/>
                  </div>
         </div>
           
          
         <div class="form-group">
             <label class="col-md-4 control-abel"> 性别</label>
              <label class="radio-inline"> 
                  <input type="radio" name="sex" Value="M"/>男
               </label>
              <label class="radio-inline"> 
                  <input type="radio" name="sex" Value="W"/>女
               </label>
         </div> 
         
           <div class="form-group">
           <input type="file" name="file" class="form-control"/>
           </div>
         <div class="form-group">
            <div class="col-md-4 col-md-offset-4">
               <button type="submit" class="btn btn-primary btn-block">提交</button>
            </div>
          </div>
         <div class="form-group">
          <label class="col-md-4 control-abel">兴趣爱好</label>
          <select multiple name="interests" class="col-md-8">
               <option value="books">看书</option>
               <option value="balls">听歌</option>
               <option value="music">睡觉</option>
          </select>
         </div>  
      </form>
     </div>
   </div>
  </body>
 </html>